$main-color: #ff6112;
$hs-color: #999999;
$bg-color: #f7f6fc;

$img-url: 'https://oss.fangxiaozhao.com/pro/';

@mixin flex-box($justify: center, $align: center, $wrap: wrap) {
  display: flex;
  justify-content: $justify;
  align-items: $align;
  align-content: $align;
  flex-wrap: $wrap;
}

@mixin text-ellipsis($line: 1) {
  overflow: hidden;
  @if $line == 1 {
    white-space: nowrap;
    text-overflow: ellipsis;
  } @else if $line > 1 {
    text-overflow: ellipsis;
    display: -webkit-box;
    word-break: break-all;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: $line;
  }
}
